package com.mvc.model.base;

import java.util.List;

public class SessionInfo implements java.io.Serializable {

	private Long id;// 用户ID
	private String loginname;// 登录名
	private String name;// 姓名
	private String ip;// 用户IP
	private String birthdate;//生日
	private Integer sex;//性别
	private String mobile;//手机号码
	private String address;//家住地址
	private String shortname;//名字简写
	private String personId;//用户ID
	private String pictureUrl;//头像路径
	private String nickName;//昵称
	private String company;//企业名称
	private String idcard;//身份证号码
	private String email;//邮箱
	private List<String> resourceList;// 用户可以访问的资源地址列表
	
	private List<String> resourceAllList;

	public List<String> getResourceList() {
		return resourceList;
	}

	public void setResourceList(List<String> resourceList) {
		this.resourceList = resourceList;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getLoginname() {
		return loginname;
	}

	public void setLoginname(String loginname) {
		this.loginname = loginname;
	}
	
	public List<String> getResourceAllList() {
		return resourceAllList;
	}

	public void setResourceAllList(List<String> resourceAllList) {
		this.resourceAllList = resourceAllList;
	}
	
	public String getPersonId() {
		return personId;
	}

	public void setPersonId(String personId) {
		this.personId = personId;
	}

	public String getBirthdate() {
		return birthdate;
	}

	public Integer getSex() {
		return sex;
	}

	public String getMobile() {
		return mobile;
	}

	public String getAddress() {
		return address;
	}

	public String getShortname() {
		return shortname;
	}

	public void setBirthdate(String birthdate) {
		this.birthdate = birthdate;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public void setShortname(String shortname) {
		this.shortname = shortname;
	}

	public String getPictureUrl() {
		return pictureUrl;
	}

	public void setPictureUrl(String pictureUrl) {
		this.pictureUrl = pictureUrl;
	}

	public String getNickName() {
		return nickName;
	}

	public String getCompany() {
		return company;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getIdcard() {
		return idcard;
	}

	public String getEmail() {
		return email;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Override
	public String toString() {
		return this.name;
	}

}
